package com.linwen.javase.desgin_pattern.BigTalkDesignPattenJAVACode._22享元模式._3网站;

//具体网站类
class ConcreteWebSite extends WebSite {
    private String name = "";
    public ConcreteWebSite(String name) {
        this.name = name;
    }
    public void use() {
        System.out.println("网站分类：" + name);
    }
}